<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: MaTengLong
  Date: 2021/8/3
  Time: 14:11
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>修改学员信息</title>
</head>
<body>
<form action="update" method="post">
  <c:if test="${not empty param['student.id']}">
    学号：  <input type="text" name="id" value="${param['student.id']}"><br />
  </c:if>
  学号：  <input type="text" name="id" value="${student.id}"><br />
  姓名：  <input type="text"  name="name" value="${student.name}" ><br />
  性别：  <input type="radio" <c:if test="${student.gender eq '男'}">  checked="checked"  </c:if> name="gender" value="男">男
         <input type="radio" <c:if test="${student.gender eq '女'}">  checked="checked"  </c:if> name="gender" value="女">女<br />
  <fmt:formatDate var="isobornday" value="${student.bornday}" scope="page" pattern="yyyy-MM-dd HH:mm"></fmt:formatDate>
  <%--生日：<input type="datetime-local" name="bornday" value="${isobornday}"> <br />--%>
  生日：  <input type="text" name="bornday" value="${isobornday}"> <br />

  <input type="submit" value="修改">
</form>
<h3><a href="list">查看学员信息</a></h3><br>
</body>
</html>
